package com.doge;

public class BattleAction
{
	public String name;
	public int damage = 0;
	public int healing = 0;
	public int energy = 0;
	int boost  = 0;
	public boolean isLocked = false;//whether the action is locked from being used
	public boolean isLocking = false; //whether the action can lock other abilties
	public boolean isLockable = true;
	
	public BattleAction(){}

	public BattleAction(String name, int statAmt, int stat, int energy)
	{
		this.name = name;
		this.energy = energy;
		
		switch(stat)
		{
		case 0:
			this.damage = statAmt;
			break;
		case 1:
			this.healing = statAmt;
			break;
		}
	}
	
	public BattleAction(String name, int statAmt, int stat, int energy, int boost)
	{
		this(name,statAmt,stat,energy);
		this.boost = boost;
	}
	
	public void boost(int amt)
	{
		switch(boost)
		{
		case 0:
			damage += amt;
			break;
		case 1:
			healing += amt;
			break;
		}
	}
}
